home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17423 < prev    next >
Encoding:
Text File  |  1996-08-05  |  961 b   |  27 lines

  1. Path: news.bs.tpl.net!news
  2. From: Dieter Lⁿcking <luecking@braunschweig.netsurf.de>
  3. Newsgroups: comp.lang.c,comp.lang.c++,comp.unix.programmer
  4. Subject: Re: itoa() in C for unix >>>
  5. Date: Mon, 15 Apr 1996 22:36:33 +0200
  6. Organization: IRD InterNet Services GmbH
  7. Message-ID: <3172B351.1776@braunschweig.netsurf.de>
  8. References: <1996Apr12.121207@topaz> <DpwpuM.Iop@ceco.ceco.com>
  9. NNTP-Posting-Host: plueckin.braunschweig.netsurf.de
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.01 (Win95; I)
  14.  
  15. > >Does anyone have or know of where I may obtain a itoa()
  16. > >integer to string function in C/C++;  my Linux box
  17. > >doesn't have one and I could use it right now.
  18. > Two solutions: use sprintf, or else look in Kernighan & Ritchie, where
  19. > they give an itoa() function as an exercise.
  20.  
  21. Notice: itoa() is NOT ANSI, however _itoa() is ANSI. Thus look for _itoa().
  22.  
  23. Isn't it a foolish name: _itoa()
  24.     Dieter
  25.  
  26.